﻿using DataLayer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataLayer.Repositories
{
    public class CheerMessageRepository : Repository<CheerMessagesGroup>
    {
        public CheerMessageRepository(GameUPContext context) : base(context) { }

        public IEnumerable<CheerMessagesGroup> GetCheerMessageLanguagePack(string language)
        {
            return _Collection.Where(x => x.Language.ToLower() == language.ToLower());
        }

    }
}
